# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-pytest-instafail
pkgver=0.4.2
pkgrel=1
pkgdesc="pytest plugin to show failures instantly"
url="https://github.com/pytest-dev/pytest-instafail"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-pytest"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-$pkgver.tar.gz"
builddir="$srcdir/pytest-instafail-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
19191d2e0c003ff06e5ef98d5696d9085971c86f13759d9a464315ca78f35f65f75ac66a1f03886db4a3c118e72673f4cad3067a23e2a4fddcdd85ac164e31ae  py3-pytest-instafail-0.4.2.tar.gz
"
